package Message.Login
{
    import Framework.Serialize.*;

    public class SFirstRole extends Object
    {
        public var name:String;
        public var camp:int;
        public var sex:int;
        public var career:int;
        public var gateIp:String;

        public function SFirstRole()
        {
            
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeString(this.name);
            param1.writeInt(this.camp);
            param1.writeInt(this.sex);
            param1.writeInt(this.career);
            param1.writeString(this.gateIp);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.name = param1.readString();
            this.camp = param1.readInt();
            this.sex = param1.readInt();
            this.career = param1.readInt();
            this.gateIp = param1.readString();
            
        }

    }
}
